package com.garrett.demo.sys.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 账号资源
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Account {

    @ExcelProperty("编号")
    private String id;

    @ExcelProperty("账户名")
    private String account;

    @ExcelProperty("密码")
    private String password;

    @Override
    public String toString() {
        return "Account{" +
                "id='" + id + '\'' +
                ", account='" + account + '\'' +
                ", password='******'}";
    }
}
